<template>
  <div id="app">
    <Header />
    <div class="container">
      <!-- 该组件会根据不同的访问路径渲染不同的组件 -->
      <router-view />
    </div>
  </div>
</template>

<script>
import Header from '@/components/Header'
export default {
  components: {
    Header
  }
}
</script>
<style lang="scss" scoped>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  margin: 30px auto;
}
</style>
